package com.xmut.service;


import com.xmut.pojo.Voluntary;
import com.xmut.pojo.VoluntaryAct;

import java.util.List;

public interface VolunteerService {

    List<Voluntary> getVoluntaryById(Integer id);

    void insertVoluntary(Voluntary voluntary);

    void deleteVoluntary(Integer id);

    Voluntary getVoluById(Integer id);

    void updateVoluntary(Integer id, Voluntary voluntary);

    List<Voluntary> getAllVoluntary();

    void insertVolAct(VoluntaryAct voluntaryAct);

    List<VoluntaryAct> getAllVolAct();

    void delVolAct(Integer id);
}
